package com.code.day17;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class Demo05Stream {
    public static void main(String[] args) {
        Stream<String> stream1 = Stream.of("哪吒传奇", "小鲤鱼历险记", "虹猫蓝兔七侠传", "飞天小女警", "猫眼三姐妹");
        Stream<String> stream2 = Stream.of("果宝特工", "三毛历险记", "成龙历险记", "熊出没", "喜洋洋");
        List<String> collect = stream1.collect(Collectors.toList());
        System.out.println(collect);

    }

}
